package com.server;

import com.entity.Teacher;

import java.util.List;
import java.util.Map;

public interface TeacherServer {

    public int add(Teacher teacher);

    public int update(Teacher teacher);

    public int delete(int id);

    public List<Teacher> getAll(Map<String,Object> map);
    public List<Teacher> getTeacher1(Map<String,Object> map);
    public List<Teacher> getTeacher2(Map<String,Object> map);
    public Teacher quchongTeacher(Map<String, Object> acount);

    public Teacher getById( int id);

    public List<Teacher> getByPage(Map<String, Object> map);

    public int getCount(Map<String,Object> map);

    public List<Teacher> select(Map<String, Object> map);
}

